#ifdef GL_ES
precision mediump float;
#endif

uniform float u_time;
uniform vec2 u_resolution;
uniform vec2 u_mouse;

vec3 red=vec3(1.,0.,0.);
vec3 green=vec3(.0,1.,0.);
vec3 blue = vec3(.0,.0,1.0);
vec3 yellow = vec3(1.,1.,0.);
vec3 cyan = vec3(0.,1.,1.);

void main(){
     vec2 st=gl_FragCoord.xy/u_resolution;
    vec3 color = vec3(0.);
    if(step(0.8,st.x) > 0.5){
        color = red;
    }else if(step(0.6,st.x) > 0.5){
        color = green;
    }else if(step(0.4,st.x) > 0.5){
        color = blue;
    }else if(step(0.2,st.x) > 0.5){
        color = yellow;
    }else{
         color = cyan;
    }
    gl_FragColor = vec4(color,1.);
}   